﻿package org.cshoo.sys.model.vo  
{  
	
	import mx.collections.ArrayCollection;
	
	[RemoteClass(alias="org.cshoo.sys.data.entity.Organization")]     
	[Bindable]  
	public class Organization  
	{  
		
		private var _id:Number;  
		private var _code:String;  
		private var _name:String;  
		private var _description:String;  
		private var _level:String;  
		private var _order:int;  
		private var _parent:Organization;  
		private var _children:Array;  
		
		
		public function Organization()  
		{  
			
		}  
		
		public function get id():Number{  
			return _id;  
		}  
		
		public function set id(pData:Number):void{  
			_id=pData;  
		}  
		
		public function get code():String{  
			return _code;  
		}  
		
		public function set code(pData:String):void{  
			_code=pData;  
		}  
		
		public function get name():String{  
			return _name;  
		}  
		
		public function set name(pData:String):void{  
			_name=pData;  
		}  
		
		public function get description():String{  
			return _description;  
		}  
		
		public function set description(pData:String):void{  
			_description=pData;  
		}  
		
		public function get level():String{  
			return _level;  
		}  
		
		public function set level(pData:String):void{  
			_level=pData;  
		}  
		
		public function get order():int{  
			return _order;  
		}  
		
		public function set order(pData:int):void{  
			_order=pData;  
		}  
		
		public function get parent():Organization{  
			return _parent;  
		}  
		
		public function set parent(pData:Organization):void{  
			_parent=pData;  
		}  
		
		public function get children():Array{ 
			return _children;  
		}  
		
		public function set children(pData:Array):void{  
			_children=pData;  
		}  
		
	}  
}  